<%@ page import="com.hw.dao.CountriesDao" %>
<%@ page import="java.util.List" %>
<%@ page import="com.hw.entity.Countries" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/2/26
  Time: 15:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

</head>
<body>

<%
    CountriesDao countriesDao=new CountriesDao();
    List<Countries> countriesList=countriesDao.findAll();
    %>
<table>
    <%
        for (Countries c:countriesList){
   %>
    <tr><td><%=c.getRegionId() %></td><td><%=c.getCountryName()%></td><td><%=c.getCountryId()%></td></tr>
    <%
        }
    %>
</table>
</body>
</html>
